body
{
	color: #333333;
	font-family: 'Dosis',Arial, Helvetica, Verdana, sans-serif;
}

#container
{
display: flex;	
flex-wrap: wrap;
align-content: flex-start;
max-width: 1020px;
width: 100%;
min-height: 595px;
margin-left: auto;
margin-right: auto;
margin-top: 80px;
background-color: #ffffff;
color: #333333;
}

#logo{
	max-width: 204px;
	height: 185px;
	margin-right: auto;
	/* margin: 0 auto; */
	background-color: #ffffff;
	flex-basis: 20%;
}	
#logo img {
	width: 185px;
	height: 185px;
	/* margin-left: 2px;
	margin-bottom: 2px;
	margin-top: -2px; */
}
#banner
{
	max-width: 780px;
	margin-left: 2%;
	max-height: 186px;
	/* overflow: hidden; */
	background-color: #ffffff;
	box-sizing: border-box;
	flex-basis: calc(100% - 210px);
}	
#banner img{
	/* justify-content: right; */
	width: auto;
	margin-top: 10px;
	margin-bottom: 10px;
} 

.banner-tile img {
	height: 190px;
}

#nav{
	width: 185px;
	margin-top: 15px;
	/* margin-bottom: 20px; */
	/* margin: 20px auto; */
	flex-basis: 20%;
	order: 2;
	max-height: 360px;
	display: flex;
	flex-direction: column;
}
#contain{
	display: flex;
	flex-wrap: wrap;
	max-width: 840px;
	height: 360px;
	flex-basis: calc(100% - 280px);
	order: 3;
	background-color: #ffffff;
	color: #333333;
	font:400 16px/24px 'Dosis', sans-serif;
	margin-left: auto;
	margin-right: 10px;
	margin-top: 15px;
	
}
.contain__first {
	width: 100%;
}
.contain__second, .contain__third{
	width: 46%;
}

.tile3
{
	width:180px;
	height:45px;
	background-color: #eeeeee;
	margin-left: 2px;
	margin-top: 11px;
	margin-bottom: 12px;
	text-align: center;
	font:500 20px/45px 'Dosis', sans-serif;
	color: #333333;
	background-image:
    -webkit-linear-gradient(left, #eeeeee, #ffffff);	
}

.tile3:hover
{
  color: #eeeeee;
  cursor: pointer;
  background: radial-gradient(#111, #888);
} 

.tile3 a
{
	color: #333333;
	text-decoration: none;
	display: block;
}
.tile3 a:hover
{
	color: #eeeeee;
	
}

.rotateLeft1 {
	transform: rotateZ(-1deg);
}
.rotateLeft2 {
	transform: rotateZ(-2deg);
}
.rotateRight1 {
	transform: rotateZ(1deg);
}
.rotateRight2 {
	transform: rotateZ(2deg);
}


@media (max-width: 950px) {
	#logo {
		order: 1;
		margin-right: 5px;
		margin-top: 5px;
		margin-bottom: 5px;
	}
	#banner {
		flex-basis: 99%;
		height: auto;
	}
	
	#banner img{
		height: auto;
		justify-content: right;
		width: 99%;
	}
	#nav{
		max-width: 450px;
		min-height: 185px;
		background-color: #ffffff;
		flex-basis: calc(100% - 210px);
		flex-direction: row;
		flex-wrap: wrap;
		margin-top: 4px;
	}

	.tile3 {
		width:120px;
		height:82px;
		border-radius:10px;
		margin: 6px;
		transform: rotateZ(0deg);
	}
	.tile3 a {
		line-height: 82px;
	}
	#contain {
		height: auto;
		flex-basis: 98%;
		margin-left: 15px;
		margin-right: 15px;
	}
	#container{
		margin-top: 20px;
	}
	.contain__second, .contain__third{
		width: 99%;
		margin-top: 5px;
		margin-bottom: 5px;
	} 
}
@media (max-width: 575px) {
	.tile3 a {
		font-size: 18px;
	}
	#contain {
		font-size: 21px;
	}
}
@media (max-width: 475px) {
	#container {
		min-width: 475px;
	}
	#nav {
		min-width: 270px;
	}
}
